<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
***********************************<br/>
************邹平党建接口说明************<br/>
***********************************<br/>
*************版本:v2.0**************<br/>
***********************************<br/>
接口测试地址:http://192.168.2.15:8070/qczl.pme<br/>
<hr>
一、栏目模块<br/>
1.1、栏目跳转<br/>
接口说明:为了方便页面统一管理，所有栏目跳转都使用此接口。<br/>
接口地址:/stb/channel/goto/{key}/{version}?stbno={stbno}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	key:栏目key（之后会提供所有顶级key）<br/>
	version:版本号，可选:v1<br/>
	stbno:机顶盒mac地址<br/>
输出参数:<br/>
	页面跳转<br/>
输出示例:无<br/>
<hr>
1.2、获取所有顶级栏目<br/>
接口说明:此接口为获取所有顶级栏目接口<br/>
接口地址:/stb/channel/top/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号，可选:v1<br/>
	stbno:机顶盒mac地址<br/>
	start:开始记录<br/>
	size:获取记录数<br/>
输出参数:<br/>
	length:返回记录数<br/>
	msg:接口信息<br/>
	size:记录总条数<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	result:返回结果集<br/>
		id:栏目唯一标识<br/>
		name:栏目名称<br/>
		key:栏目key<br/>
		link:此栏目跳转地址<br/>
		visits:栏目点击数<br/>
输出示例:<br/>
	{"length":1,"msg":"成功获取顶级栏目！","result":[{"id":1,"key":"stb_jcjs","link":"http://www.baidu111.com","name":"基层纪实","visits":9}],"size":1,"state":200,"success":true}<br/>
<hr>
1.3、获取子级栏目<br/>
接口说明:此接口为根据父级栏目的key获取子级栏目<br/>
接口地址:/stb/channel/child/{version}?stbno={stbno}&key={key}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号，可选:v1<br/>
	stbno:机顶盒mac地址<br/>
	key:父级栏目key<br/>
	start:开始记录<br/>
	size:获取记录数<br/>
输出参数:<br/>
	length:返回记录数<br/>
	msg:接口信息<br/>
	size:记录总条数<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	result:返回结果集<br/>
		id:栏目唯一标识<br/>
		name:栏目名称<br/>
		key:栏目key<br/>
		link:此栏目跳转地址<br/>
		visits:栏目点击数<br/>
输出示例:<br/>
	{"length":6,"msg":"成功获取子级栏目！","result":[{"id":2,"key":"stb_hyjs","link":"hyjs.html","name":"会议纪实","visits":1},{"id":6,"key":"stb_hyhf","link":"hyhf.html","name":"会议回放","visits":1},{"id":10,"key":"stb_hyhf","link":"hyhf.html","name":"会议设置","visits":1},{"id":11,"key":"stb_hyhf","link":"hyhf.html","name":"坐班签到","visits":1},{"id":12,"key":"stb_hyhf","link":"hyhf.html","name":"活动签到","visits":1},{"id":13,"key":"stb_hyhf","link":"hyhf.html","name":"签到考核","visits":1}],"size":6,"state":200,"success":true}<br/>
<hr>	
1.4、获取栏目<br/>
接口说明:此接口为根据栏目key值获取栏目<br/>
接口地址:/stb/channel/get/{version}?stbno={stbno}&key={key}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号，可选:v1<br/>
	stbno:机顶盒mac地址<br/>
	key:栏目key<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	result:返回结果集<br/>
		id:栏目唯一标识<br/>
		name:栏目名称<br/>
		key:栏目key<br/>
		link:此栏目跳转地址<br/>
		visits:栏目点击数<br/>
输出示例:<br/>
	{"msg":"成功获取栏目信息！","result":{"id":1,"key":"stb_jcjs","link":"http://www.baidu111.com","name":"基层纪实","visits":9},"state":200,"success":true}<br/>
<hr>

二、二维码生成接口<br/>
接口说明:此接口为生成二维码接口，直接返回图片。<br/>
接口地址:/qrcode/{version}?w={w}&text={text}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	w:宽度高度(如不传递此参数默认为400)<br/>
	text:要生成二维码的内容<br/>
输出参数:<br/>
	图片<br/>
输出示例:<br/>
	无<br/>
<hr>

三、基层纪实模块<br/>
3.1、会议<br/>
3.1.1、会议纪实<br/>
3.1.1.1、县级会场<br/>
接口说明:根据机顶盒获取县级会场<br/>
接口地址:/stb/mettingroom/county/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒mac地址<br/>
	start:开始记录<br/>
	size:记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	length:返回记录数<br/>
	size:记录总数<br/>
	success:接口状态<br/>
	state:接口状态码<br/>
	result:结果集<br/>
		id:摄像头编号<br/>
		name:摄像头名称<br/>
		url:播放路径<br/>
		areaid:区域编号<br/>
		areaname:区域名称<br/>
		link:链接地址<br/>
		img:封面图<br/>
输出示例:<br/>
	{"msg":"成功获取县级会议室！","result":[{"areaid":1,"areaname":"邹平县","id":1,"name":"邹平县委组织部会议室","url":"http://58.20.59.84:5081/hls/sbq7trjb.m3u8"},{"areaid":1,"areaname":"邹平县","id":19,"name":"邹平县委组织部会议室1","url":"http://58.20.59.84:5081/hls/sbq7trjb.m3u8"}],"size":2,"state":200,"success":true}<br/>
<hr>
3.1.1.2、镇级会场<br/>
3.1.1.2.1、获取机顶盒拥有的镇级区域<br/>
接口说明:根据机顶盒获取县级会场<br/>
接口地址:/stb/area/town/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒mac地址<br/>
	start:开始记录<br/>
	size:记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	length:返回记录数<br/>
	size:记录总数<br/>
	success:接口状态<br/>
	state:接口状态码<br/>
	result:结果集<br/>
		id:区域编号<br/>
		name:区域名称<br/>
		level:区域级别（0、县 1、镇 2、村）<br/>
输出示例:<br/>
	{"length":2,"msg":"成功获取机顶盒镇级！","result":[{"id":2,"level":1,"name":"淮川街道"},{"id":3,"level":1,"name":"荷花街道"}],"size":2,"state":200,"success":true}<br/>
<hr>
3.1.1.2.2、根据镇获取村级会场<br/>
接口说明:根据镇编号获取村级会场<br/>
接口地址:/stb/mettingroom/village/{version}?stbno={stbno}&townid={townid}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒mac地址<br/>
	townid:镇级编号<br/>
	start:开始记录<br/>
	size:记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	length:返回记录数<br/>
	size:记录总数<br/>
	success:接口状态<br/>
	state:接口状态码<br/>
	result:结果集<br/>
		id:摄像头编号<br/>
		name:摄像头名称<br/>
		url:播放路径<br/>
		areaid:区域编号<br/>
		areaname:区域名称<br/>
		link:链接地址<br/>
		img:封面图<br/>
输出示例:<br/>
	{"length":4,"msg":"成功获取村级会议室！","result":[{"id":2,"name":"淮川街道组织部会议室","url":"http://58.20.59.84:5081/hls/8stjgc68.m3u8"},{"id":4,"name":"兴隆村组织部会议室","url":"http://58.20.59.84:5081/hls/mdg85gpt.m3u8"},{"id":5,"name":"杨花村组织部会议室","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":6,"name":"八店村组织部会议室","url":"http://58.20.59.84:5081/hls/8stjgc68.m3u8"}],"size":4,"state":200,"success":true}
<br/><hr>
3.1.1.3、获取直属部门会场<br/>
接口说明:根据机顶盒获取县级会场<br/>
接口地址:/stb/mettingroom/branch/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
输出参数:<br/>
	msg:接口信息<br/>
	length:返回记录数<br/>
	size:记录总数<br/>
	success:接口状态<br/>
	state:接口状态码<br/>
	result:结果集<br/>
		id:摄像头编号<br/>
		name:摄像头名称<br/>
		url:播放路径<br/>
		areaid:区域编号<br/>
		areaname:区域名称<br/>
		link:链接地址<br/>
		img:封面图<br/>
输出示例:<br/>
	{"length":9,"msg":"成功获取直属部门会场！","result":[{"id":10,"name":"国土局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":11,"name":"环保局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":12,"name":"财政局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":13,"name":"国税局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":14,"name":"地税局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":15,"name":"交通局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":16,"name":"人保局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":17,"name":"质监局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":18,"name":"公安局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"}],"size":9,"state":200,"success":true}
<br/><hr>

3.1.2、会议回放<br/>
3.1.2.1、县级会场<br/>
接口说明:根据机顶盒获取县级会场<br/>
接口地址:/stb/mettingroom/county/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒mac地址<br/>
	start:开始记录<br/>
	size:记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	length:返回记录数<br/>
	size:记录总数<br/>
	success:接口状态<br/>
	state:接口状态码<br/>
	result:结果集<br/>
		id:摄像头编号<br/>
		name:摄像头名称<br/>
		url:播放路径<br/>
		areaid:区域编号<br/>
		areaname:区域名称<br/>
		link:链接地址<br/>
		img:封面图<br/>
输出示例:<br/>
	{"msg":"成功获取县级会议室！","result":[{"areaid":1,"areaname":"邹平县","id":1,"name":"邹平县委组织部会议室","url":"http://58.20.59.84:5081/hls/sbq7trjb.m3u8"},{"areaid":1,"areaname":"邹平县","id":19,"name":"邹平县委组织部会议室1","url":"http://58.20.59.84:5081/hls/sbq7trjb.m3u8"}],"size":2,"state":200,"success":true}
<br/><hr>
3.1.2.2、镇级会场<br/>
3.1.2.2.1、获取机顶盒拥有的镇级区域<br/>
接口说明:根据机顶盒获取县级会场<br/>
接口地址:/stb/area/town/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒mac地址<br/>
	start:开始记录<br/>
	size:记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	length:返回记录数<br/>
	size:记录总数<br/>
	success:接口状态<br/>
	state:接口状态码<br/>
	result:结果集<br/>
		id:区域编号<br/>
		name:区域名称<br/>
		level:区域级别（0、县 1、镇 2、村）<br/>
输出示例:<br/>
	{"length":2,"msg":"成功获取机顶盒镇级！","result":[{"id":2,"level":1,"name":"淮川街道"},{"id":3,"level":1,"name":"荷花街道"}],"size":2,"state":200,"success":true}
<br/><hr>
3.1.2.2.2、根据镇获取村级会场<br/>
接口说明:根据镇编号获取村级会场<br/>
接口地址:/stb/mettingroom/village/{version}?stbno={stbno}&townid={townid}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒mac地址<br/>
	townid:镇级编号<br/>
	start:开始记录<br/>
	size:记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	length:返回记录数<br/>
	size:记录总数<br/>
	success:接口状态<br/>
	state:接口状态码<br/>
	result:结果集<br/>
		id:摄像头编号<br/>
		name:摄像头名称<br/>
		url:播放路径<br/>
		areaid:区域编号<br/>
		areaname:区域名称<br/>
		link:链接地址<br/>
		img:封面图<br/>
输出示例:<br/>
	{"length":4,"msg":"成功获取村级会议室！","result":[{"id":2,"name":"淮川街道组织部会议室","url":"http://58.20.59.84:5081/hls/8stjgc68.m3u8"},{"id":4,"name":"兴隆村组织部会议室","url":"http://58.20.59.84:5081/hls/mdg85gpt.m3u8"},{"id":5,"name":"杨花村组织部会议室","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":6,"name":"八店村组织部会议室","url":"http://58.20.59.84:5081/hls/8stjgc68.m3u8"}],"size":4,"state":200,"success":true}
<br/><hr>
3.1.2.3、获取直属部门会场<br/>
接口说明:根据机顶盒获取县级会场<br/>
接口地址:/stb/mettingroom/branch/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
输出参数:<br/>
	msg:接口信息<br/>
	length:返回记录数<br/>
	size:记录总数<br/>
	success:接口状态<br/>
	state:接口状态码<br/>
	result:结果集<br/>
		id:摄像头编号<br/>
		name:摄像头名称<br/>
		url:播放路径<br/>
		areaid:区域编号<br/>
		areaname:区域名称<br/>
		link:链接地址<br/>
		img:封面图<br/>
输出示例:<br/>
	{"length":9,"msg":"成功获取直属部门会场！","result":[{"id":10,"name":"国土局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":11,"name":"环保局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":12,"name":"财政局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":13,"name":"国税局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":14,"name":"地税局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":15,"name":"交通局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":16,"name":"人保局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":17,"name":"质监局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"},{"id":18,"name":"公安局","url":"http://58.20.59.84:5081/hls/97hmmpzb.m3u8"}],"size":9,"state":200,"success":true}
<br/><hr>
3.1.2.4、获取回看列表<br/>
接口说明:根据摄像头编号获取回看列表<br/>
接口地址:/metting/get/{version}?stbno={stbno}&cameraid={cameraid}&start={start}&size={size}<br/>
<hr>
3.1.3、会议设置<br/>
3.1.3.1、获取会议主题<br/>
接口说明:获取会议主题<br/>
接口地址:/topic/metting/{version}?start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	start:开始记录<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	length:返回记录数<br/>
	size:记录总数<br/>
	success:接口状态<br/>
	state:接口状态码<br/>
	result:结果集<br/>
		id:编号<br/>
		name:名称<br/>
		pid:父级编号<br/>
输出示例:<br/>
	{"length":1,"msg":"成功获取会议主题！","result":[{"id":9,"name":"会议主题一","pid":1}],"size":1,"state":200,"success":true}
<br/><hr>
3.1.3.2、获取会议类型<br/>
接口说明:根据父级编号获取会议类型<br/>
接口地址:/topic/type/{version}?pid={pid}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	pid:主题编号<br/>
	start:开始记录<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	length:返回记录数<br/>
	size:记录总数<br/>
	success:接口状态<br/>
	state:接口状态码<br/>
	result:结果集<br/>
		id:编号<br/>
		name:名称<br/>
		pid:父级编号<br/>
输出示例:<br/>
	{"length":1,"msg":"成功获取类型！","result":[{"id":10,"name":"类型一","pid":9}],"size":1,"state":200,"success":true}
<br/><hr>
3.1.3.3、添加会议记录<br/>
接口说明:添加会议记录<br/>
接口地址:/stb/metting/add/{version}?stbno={stbno}&topicid={topicid}&typeid={typeid}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	topicid:会议主题编号<br/>
	typeid:会议类型编号（多个类型拼接多个typeid如：typeid=1&typeid=2&typeid=3）<br/>
输出参数:<br/>
	msg:接口信息<br/>
	length:返回记录数<br/>
	size:记录总数<br/>
	success:接口状态<br/>
	state:接口状态码<br/>
	result:会议编号<br/>
输出示例:<br/>
	{"length":1,"msg":"成功获取类型！","result":1,"size":1,"state":200,"success":true}<br/>
<hr>
3.1.3.4、获取需要签到人员<br/>
接口说明:获取会场会议主题对应的人员信息<br/>
接口地址:/stb/person/metting/{version}?stbno={stbno}&topicid={topicid}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	topicid:会议主题编号<br/>
	start:开始记录<br/>
	size:记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	result:结果集<br/>
		id:人员编号<br/>
		idCard:身份证号<br/>
		img:图片地址<br/>
		name:人员姓名<br/>
输出示例:<br/>
	{"length":1,"msg":"成功获取人员信息！","result":[{"id":1,"idCard":"410311199012190538","img":"/resource/person/410311199012190538.png","name":"刘松仁"}],"size":1,"state":200,"success":true}
<br/><hr>
3.1.3.5、获取已签到人员<br/>
接口说明:获取会场会议主题对应的人员信息<br/>
接口地址:/stb/person/sign/{version}?stbno={stbno}&mettingid={topicid}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	mettingid:会议编号<br/>
	start:开始记录<br/>
	size:记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	result:结果集<br/>
		id:人员编号<br/>
		idCard:身份证号<br/>
		img:图片地址<br/>
		name:人员姓名<br/>
输出示例:<br/>
	{"length":1,"msg":"成功获取已签到人员信息！","result":[{"id":1,"idCard":"410311199012190538","img":"/resource/person/410311199012190538.png","name":"刘松仁"}],"size":1,"state":200,"success":true}
<br/><hr>
3.2、签到<br/>
3.2.1、坐班签到<br/>
3.2.1.1、驻村干部坐班签到二维码封装接口<br/>
接口说明:此接口为驻村干部坐班扫码签到,用户使用党建app扫描tv端二维码进行签到。<br/>
	二维码生成地址为接口地址加stbno参数，app扫码后拼接phone参数进行接口调用。<br/>
接口地址:/sign/video/zhucun/{version}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	phone:用户手机号（由app扫码后拼接此参数）<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	result:结果集<br/>
		id:人员编号<br/>
		idCard:身份证号<br/>
		img:图片地址<br/>
		name:人员姓名<br/>
输出示例:<br/>
	{"msg":"签到成功！","result":{"personid":2,"idCard":"411111199212190738","name":"张三"},"state":200,"success":true}
<br/><hr>
3.2.1.2、获取当日驻村干部签到人员列表<br/>
接口说明:此接口为机顶盒获取当日驻村干部签到人员列表，此接口如一日内一人签到多次将返回最早签到时间的记录<br/>
接口地址:/sign/get/zhucun/{version}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	start:开始记录数<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:结果集<br/>
		personid:人员编号<br/>
		name:人员姓名<br/>
		idCard:身份证号<br/>
		signtime:签到时间<br/>
输出示例:<br/>
	{"msg":"成功获取签到人员信息！","result":[{"idCard":"410311199012190538","name":"刘松仁","personid":1,"signtime":"2017-09-07 09:49:10"},{"idCard":"410311199012190538","name":"张三","personid":2,"signtime":"2017-09-07 16:33:07"}],"size":2,"state":200,"success":true}
<br/><hr>
3.2.2、活动签到<br/>
3.2.2.1、活动签到二维码封装接口<br/>
接口说明:此接口为活动扫码签到,用户使用党建app扫描tv端二维码进行签到。<br/>
	二维码生成地址为接口地址加stbno参数，app扫码后拼接phone参数进行接口调用。<br/>
接口地址:/sign/video/huodong/{version}?stbno={stbno}&phone={phone}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	phone:用户手机号（由app扫码后拼接此参数）<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	result:结果集<br/>
输出示例:<br/>
	{"msg":"签到成功！","result":{"personid":2,"idCard":"411111199212190738","name":"张三"},"state":200,"success":true}
<br/><hr>
3.2.2.2、获取活动签到人员<br/>
接口说明:此接口为机顶盒获取当日驻村干部签到人员列表，此接口如一日内一人签到多次将返回最早签到时间的记录<br/>
接口地址:/sign/get/huodong/{version}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	start:开始记录数<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:结果集<br/>
		personid:人员编号<br/>
		name:人员姓名<br/>
		idCard:身份证号<br/>
		signtime:签到时间<br/>
输出示例:<br/>
	{"msg":"成功获取签到人员信息！","result":[{"idCard":"410311199012190538","name":"刘松仁","personid":1,"signtime":"2017-09-07 09:49:10"},{"idCard":"410311199012190538","name":"张三","personid":2,"signtime":"2017-09-07 16:33:07"}],"size":2,"state":200,"success":true}
<br/><hr>


3.2.3、签到考核<br/>
3.2.3.1、坐班签到汇总<br/>
3.2.3.1.1、获取坐班签到人员<br/>
接口说明:获取坐班签到人员<br/>
接口地址:/stb/person/zuoban/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	start:开始记录数<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:结果集<br/>
		id:人员编号<br/>
		idCard:身份证号<br/>
		img:图片地址<br/>
		name:人员姓名<br/>
输出示例:<br/>
	{"length":10,"msg":"成功获取坐班签到人员信息！","result":[{"id":1,"idCard":"410311199012190538","img":"/resource/person/410311199012190538.png","name":"刘松仁"},{"id":10,"idCard":"410311199012190537","img":"/resource/person/410311199012190537.png","name":"王"},{"id":9,"idCard":"410311199012190536","img":"/resource/person/410311199012190536.png","name":"郑"},{"id":8,"idCard":"410311199012190535","img":"/resource/person/410311199012190535.png","name":"吴"},{"id":7,"idCard":"410311199012190534","img":"/resource/person/410311199012190534.png","name":"周"},{"id":6,"idCard":"410311199012190533","img":"/resource/person/410311199012190533.png","name":"李"},{"id":5,"idCard":"410311199012190532","img":"/resource/person/410311199012190532.png","name":"孙"},{"id":4,"idCard":"410311199012190531","img":"/resource/person/410311199012190531.png","name":"钱"},{"id":3,"idCard":"410311199012190530","img":"/resource/person/410311199012190530.png","name":"赵"},{"id":2,"idCard":"410311199012190539","img":"/resource/person/410311199012190539.png","name":"张三"}],"size":11,"state":200,"success":true}
<br/><hr>
3.2.3.1.2、根据人员获取签到记录<br/>
接口说明:<br/>
接口地址:/sign/zuoban/{version}?stbno={stbno}&personid={personid}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	personid:人员编号<br/>
	start:开始记录数<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:结果集<br/>
		personid:人员编号<br/>
		name:人员姓名<br/>
		idCard:身份证号<br/>
		signtime:签到时间<br/>
输出示例:<br/>
	{"length":1,"msg":"成功获取坐班签到记录！","result":[{"idCard":"410311199012190538","name":"刘松仁","personid":1,"signtime":"2017-09-20 17:10:19"}],"size":1,"state":200,"success":true}	
<br/><hr>
3.2.3.2、活动考勤汇总<br/>
3.2.3.2.1、获取活动签到人员<br/>
接口说明:<br/>
接口地址:/stb/person/huodong/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	start:开始记录数<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:结果集<br/>
		id:人员编号<br/>
		idCard:身份证号<br/>
		img:图片地址<br/>
		name:人员姓名<br/>
输出示例:<br/>
	{"length":1,"msg":"成功获取活动签到人员信息！","result":[{"id":1,"idCard":"410311199012190538","img":"/resource/person/410311199012190538.png","name":"刘松仁"}],"size":1,"state":200,"success":true}
<br/><hr>
3.2.3.1.2、根据人员获取签到记录<br/>
接口说明:<br/>
接口地址:/sign/huodong/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	start:开始记录数<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:结果集<br/>
		personid:人员编号<br/>
		name:人员姓名<br/>
		idCard:身份证号<br/>
		signtime:签到时间<br/>
输出示例:<br/>
	{"length":1,"msg":"成功获取活动签到记录！","result":[{"idCard":"410311199012190538","name":"刘松仁","personid":1,"signtime":"2017-09-20 17:10:19"}],"size":1,"state":200,"success":true}
<br/><hr>
3.2.3.3、会议签到汇总<br/>
3.2.3.2.1、获取会议签到人员<br/>
接口说明:<br/>
接口地址:/stb/person/huiyi/{version}?stbno={stbno}&start={start}&size={size}<br/>	
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	start:开始记录数<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:结果集<br/>
		id:人员编号<br/>
		idCard:身份证号<br/>
		img:图片地址<br/>
		name:人员姓名<br/>
输出示例:<br/>
	{"length":10,"msg":"成功获取会议签到人员信息！","result":[{"id":1,"idCard":"410311199012190538","img":"/resource/person/410311199012190538.png","name":"刘松仁"},{"id":2,"idCard":"410311199012190539","img":"/resource/person/410311199012190539.png","name":"张三"},{"id":3,"idCard":"410311199012190530","img":"/resource/person/410311199012190530.png","name":"赵"},{"id":4,"idCard":"410311199012190531","img":"/resource/person/410311199012190531.png","name":"钱"},{"id":5,"idCard":"410311199012190532","img":"/resource/person/410311199012190532.png","name":"孙"},{"id":6,"idCard":"410311199012190533","img":"/resource/person/410311199012190533.png","name":"李"},{"id":7,"idCard":"410311199012190534","img":"/resource/person/410311199012190534.png","name":"周"},{"id":8,"idCard":"410311199012190535","img":"/resource/person/410311199012190535.png","name":"吴"},{"id":9,"idCard":"410311199012190536","img":"/resource/person/410311199012190536.png","name":"郑"},{"id":10,"idCard":"410311199012190537","img":"/resource/person/410311199012190537.png","name":"王"}],"size":11,"state":200,"success":true}
<br/><hr>
3.2.3.1.2、根据人员获取签到记录<br/>
接口说明:<br/>
接口地址:/sign/huiyi/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	start:开始记录数<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:结果集<br/>
		personid:人员编号<br/>
		name:人员姓名<br/>
		idCard:身份证号<br/>
		signtime:签到时间<br/>
输出示例:<br/>
	{"length":1,"msg":"成功获取会议签到记录！","result":[{"idCard":"410311199012190538","name":"刘松仁","personid":1,"signtime":"2017-09-07 16:33:07"}],"size":1,"state":200,"success":true}
<br/><hr>	
	
四、会议直播	<br/>
4.1、获取直播主题<br/>
接口说明:获取直播主题<br/>
接口地址:/topic/live/{version}?start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	start:开始记录数<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:结果集<br/>
		id:人员编号<br/>
		name:主题名称<br/>
		pid:父级编号<br/>
输出示例:<br/>
	{"length":3,"msg":"成功获取直播主题！","result":[{"id":3,"name":"活动","pid":2},{"id":4,"name":"会议","pid":2},{"id":5,"name":"专家授课","pid":2}],"size":3,"state":200,"success":true}
<br/><hr>
4.2、开始直播<br/>
接口说明:<br/>
接口地址:/stb/live/start/{version}?stbno={stbno}&topicid={topicid}&typeid={typeid}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	topicid:主题编号<br/>
	typeid:类型编号（暂无）<br/>
	start:开始记录数<br/>
	size:获取记录数<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:播放地址（m3u8之后的参数为安卓端调用停止录制使用的参数请安卓端保存）<br/>
输出示例:<br/>
	{"msg":"开始直播！","result":"http://58.20.59.84:5081/hls/sbq7trjb.m3u8?taskid=abc&cameraid=1&type=live","state":200,"success":true}
<br/><hr>
4.3、获取直播列表<br/>
接口说明:<br/>
接口地址:/stb/live/get/{version}?stbno={stbno}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	start:开始记录数<br/>
	size:获取记录数(start、size空为获取全部)<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:<br/>
		name:直播名称<br/>
		starttime:开始时间<br/>
		url:播放地址<br/>
		img:封面图<br/>
输出示例:<br/>
	{"msg":"成功获取直播列表！","result":[{"name":"会议设置","starttime":"2017-09-21 14:26:35","url":"http://58.20.59.84:5081/hls/sbq7trjb.m3u8"},{"name":"活动","starttime":"2017-09-21 14:26:52","url":"http://58.20.59.84:5081/hls/sbq7trjb.m3u8"},{"name":"活动","starttime":"2017-09-21 15:26:56","url":"http://58.20.59.84:5081/hls/sbq7trjb.m3u8"}],"state":200,"success":true}
<br/><hr>
4.4、获取回看列表<br/>
接口说明:<br/>
接口地址:/stb/live/back/{version}?stbno={stbno}&topicid={topicid}&start={start}&size={size}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
	topicid:主题编号<br/>
	start:开始记录数<br/>
	size:获取记录数(start、size空为获取全部)<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:<br/>
		name:直播名称<br/>
		starttime:开始时间<br/>
		endtime:结束时间<br/>
		url:播放地址<br/>
		img:封面图<br/>
输出示例:<br/>
{"msg":"成功获取回看列表！","result":[{"name":"活动","starttime":"2017-09-21 14:26:52","url":"http://58.20.59.84:5081/hls/sbq7trjb.m3u8"},{"name":"活动","starttime":"2017-09-21 15:26:56","url":"http://58.20.59.84:5081/hls/sbq7trjb.m3u8"}],"state":200,"success":true}
<br/><hr>
五、美丽镇街<br/>
5.1、获取机顶盒级别<br/>
接口说明:<br/>
接口地址:/stb/area/get/{version}?stbno={stbno}<br/>
请求方式:GET/POST<br/>
输入参数:<br/>
	version:版本号 可选:v1<br/>
	stbno:机顶盒编号<br/>
输出参数:<br/>
	msg:接口信息<br/>
	state:接口状态码<br/>
	success:接口状态<br/>
	size:记录总数<br/>
	result:<br/>
		id:区域编号<br/>
		level:区域级别（0、县1、镇2、村）<br/>
输出示例:<br/>
	{"msg":"成功获取机顶盒区域！","result":{"id":1,"level":0,"name":"邹平县"},"state":200,"success":true}<br/>
<hr>
5.2、获取镇列表<br/>
接口说明:<br/>
接口地址:<br/>
请求方式:GET/POST<br/>
5.3、根据镇编号获取村列表<br/>
接口说明:<br/>
接口地址:<br/>
请求方式:GET/POST<br/>
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	